package com.sniper.springmvc.main;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by suzhen on 2017/4/14.
 */
//@EnableAutoConfiguration
//@ComponentScan("com.sniper.springmvc")
//@Configuration
// 下面一个顶上面3个
@SpringBootApplication(scanBasePackages = {"com.sniper.springmvc"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
